# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=dfl-sni
pkgver=0.2.0
pkgrel=0
pkgdesc="Implementation of the XDG Status Notification Specifications"
url="https://gitlab.com/desktop-frameworks/status-notifier/"
arch="all"
license="GPL-3.0-only"
makedepends="qt5-qtbase-dev meson"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/desktop-frameworks/status-notifier/-/archive/v$pkgver/status-notifier-v$pkgver.tar.gz"
builddir="$srcdir/status-notifier-v$pkgver"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
a513eba3402094287b54636c0af5a9eea0fb26440923ca0b0ba28ceeec5a56f8336b1611cc65fe4b61c796b44d2abdc16e71dc726ecd4c69d52864da50dc6fda  dfl-sni-0.2.0.tar.gz
"
